
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-energy_green"></i>
                    <div class="name">energy_green</div>
                    <div class="fontclass">.icon-energy_green</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-biyan"></i>
                    <div class="name">biyan</div>
                    <div class="fontclass">.icon-biyan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bluetooth"></i>
                    <div class="name">bluetooth</div>
                    <div class="fontclass">.icon-bluetooth</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-daomo"></i>
                    <div class="name">daomo</div>
                    <div class="fontclass">.icon-daomo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_add"></i>
                    <div class="name">icon_add</div>
                    <div class="fontclass">.icon-icon_add</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_bitong"></i>
                    <div class="name">icon_bitong</div>
                    <div class="fontclass">.icon-icon_bitong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_buy"></i>
                    <div class="name">icon_buy</div>
                    <div class="fontclass">.icon-icon_buy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_homepage"></i>
                    <div class="name">icon_homepage</div>
                    <div class="fontclass">.icon-icon_homepage</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_lianjie"></i>
                    <div class="name">icon_lianjie</div>
                    <div class="fontclass">.icon-icon_lianjie</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_more"></i>
                    <div class="name">icon_more</div>
                    <div class="fontclass">.icon-icon_more</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_notice"></i>
                    <div class="name">icon_notice</div>
                    <div class="fontclass">.icon-icon_notice</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_news"></i>
                    <div class="name">icon_news</div>
                    <div class="fontclass">.icon-icon_news</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_star_yellow"></i>
                    <div class="name">icon_star_yellow</div>
                    <div class="fontclass">.icon-icon_star_yellow</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_star_blue"></i>
                    <div class="name">icon_star_blue2</div>
                    <div class="fontclass">.icon-icon_star_blue</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_star_green"></i>
                    <div class="name">icon_star_green1</div>
                    <div class="fontclass">.icon-icon_star_green</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_star_green1"></i>
                    <div class="name">icon_star_green2</div>
                    <div class="fontclass">.icon-icon_star_green1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_vip"></i>
                    <div class="name">icon_vip</div>
                    <div class="fontclass">.icon-icon_vip</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_star_green2"></i>
                    <div class="name">icon_star_green3</div>
                    <div class="fontclass">.icon-icon_star_green2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_star_blue1"></i>
                    <div class="name">icon_star_blue1</div>
                    <div class="fontclass">.icon-icon_star_blue1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon_yanzhi"></i>
                    <div class="name">icon_yanzhi</div>
                    <div class="fontclass">.icon-icon_yanzhi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kangzhou"></i>
                    <div class="name">kangzhou</div>
                    <div class="fontclass">.icon-kangzhou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-loading"></i>
                    <div class="name">loading</div>
                    <div class="fontclass">.icon-loading</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-menu_black"></i>
                    <div class="name">menu_black</div>
                    <div class="fontclass">.icon-menu_black</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-loading_white"></i>
                    <div class="name">loading_white</div>
                    <div class="fontclass">.icon-loading_white</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-notice"></i>
                    <div class="name">notice</div>
                    <div class="fontclass">.icon-notice</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-menu_white"></i>
                    <div class="name">menu_white</div>
                    <div class="fontclass">.icon-menu_white</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jingxue"></i>
                    <div class="name">jingxue</div>
                    <div class="fontclass">.icon-jingxue</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qq"></i>
                    <div class="name">qq</div>
                    <div class="fontclass">.icon-qq</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qunban"></i>
                    <div class="name">qunban</div>
                    <div class="fontclass">.icon-qunban</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pengyouquan"></i>
                    <div class="name">pengyouquan</div>
                    <div class="fontclass">.icon-pengyouquan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-runfu"></i>
                    <div class="name">runfu</div>
                    <div class="fontclass">.icon-runfu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-notice1"></i>
                    <div class="name">notice</div>
                    <div class="fontclass">.icon-notice1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-people"></i>
                    <div class="name">people</div>
                    <div class="fontclass">.icon-people</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-phone"></i>
                    <div class="name">phone</div>
                    <div class="fontclass">.icon-phone</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-time_green"></i>
                    <div class="name">time_green</div>
                    <div class="fontclass">.icon-time_green</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-time_blue"></i>
                    <div class="name">time_blue</div>
                    <div class="fontclass">.icon-time_blue</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-time_blue1"></i>
                    <div class="name">time_blue 2</div>
                    <div class="fontclass">.icon-time_blue1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-time"></i>
                    <div class="name">time</div>
                    <div class="fontclass">.icon-time</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tiaoqixue"></i>
                    <div class="name">tiaoqixue</div>
                    <div class="fontclass">.icon-tiaoqixue</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tongjingluo"></i>
                    <div class="name">tongjingluo</div>
                    <div class="fontclass">.icon-tongjingluo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-weixin"></i>
                    <div class="name">weixin</div>
                    <div class="fontclass">.icon-weixin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-share_black"></i>
                    <div class="name">share_black</div>
                    <div class="fontclass">.icon-share_black</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-runfu1"></i>
                    <div class="name">runfu</div>
                    <div class="fontclass">.icon-runfu1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-satr"></i>
                    <div class="name">satr</div>
                    <div class="fontclass">.icon-satr</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-share_white"></i>
                    <div class="name">share_white</div>
                    <div class="fontclass">.icon-share_white</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-share_star"></i>
                    <div class="name">share_star</div>
                    <div class="fontclass">.icon-share_star</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-strength"></i>
                    <div class="name">strength</div>
                    <div class="fontclass">.icon-strength</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-strength_blue"></i>
                    <div class="name">strength_blue</div>
                    <div class="fontclass">.icon-strength_blue</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-smallpeople"></i>
                    <div class="name">smallpeople</div>
                    <div class="fontclass">.icon-smallpeople</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-strength_green"></i>
                    <div class="name">strength_green</div>
                    <div class="fontclass">.icon-strength_green</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
